package cn.tedu.medicalpath.medicine.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author WangPeiao
 * @date 2024/12/12\
 * @apiNote
 */
@Data
public class MedicineVO {
    @ApiModelProperty(value = "药品id")
    private Integer id;
    @ApiModelProperty(value = "医保编码")
    private String insuranceCode;
    @ApiModelProperty(value = "药品名称")
    private String name;
    @ApiModelProperty(value = "药品规格")
    private String specification;
    @ApiModelProperty(value = "药品剂型")
    private String dosage;
    @ApiModelProperty(value = "药品类别")
    private String category;
    @ApiModelProperty(value = "批准文号")
    private String approvalNum;
    @ApiModelProperty(value = "功能主治")
    private String indication;
    @ApiModelProperty(value = "不良反应，非空")
    private String adverseEffect;
    @ApiModelProperty(value = "药品价格")
    private Integer price;
    @ApiModelProperty(value = "生产厂家")
    private String manufacturer;
    @ApiModelProperty(value = "药品库存数量")
    private String storageLocation;
    @ApiModelProperty(value = "药品更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;
    @ApiModelProperty(value = "药品数量")
    private Integer amount;
}
